﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace YAMN_Cinemas.Service
{
    public class AdminService
    {
        public static DateTime fromDate;
        public static DateTime toDate;
        Data.Admin ad=new Data.Admin();
        public void addmovie(Movy m)
        {            
            ad.save_Movie(m);

        }
        public void send_Date(DateTime time)
        {
            fromDate = time;

        }
        public DateTime getdate()
        {
            return fromDate;
        }
    }
}